package net.wanglu.www.spdr.log;

import java.io.File;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class LoggerFactory {

	public static Logger SpiderLogger = Logger.getLogger(LoggerFactory.class);
	
	public static void load(String config) throws Exception{
		File cfg = new File(config);
		PropertyConfigurator.configure(cfg.toURI().toURL());
	}
}
